import base64
import myimage
#from mydef import pngSize
import lzma
import mydef

class myimg():
    xigua_img = mydef.pngSize(50,50, base64.b64decode(bytes(myimage.xigua)))
    mc1_img = mydef.pngSize(960,500, lzma.decompress(base64.b64decode(bytes(myimage.mc1))))
    mc11_img = mydef.pngSize(500,260, lzma.decompress(base64.b64decode(bytes(myimage.mc11))))
    mc12_img = mydef.pngSize(618,386, lzma.decompress(base64.b64decode(bytes(myimage.mc12))))
    mc2_img = mydef.pngSize(50,50, lzma.decompress(base64.b64decode(bytes(myimage.mc2))))
    mc3_img = mydef.pngSize(50,50, lzma.decompress(base64.b64decode(bytes(myimage.mc3))))
    mc5_img = mydef.pngSize(800,460, lzma.decompress(base64.b64decode(bytes(myimage.mc5))))
    mc6_img = mydef.pngSize(500,260, lzma.decompress(base64.b64decode(bytes(myimage.mc6))))


CACHE = {}


GOODS_DATA = {}




CH_ZH = {
    "0": ("零",""),
    "1": ("一",""),
    "2": ("二","十"),
    "3": ("三","百"),
    "4": ("四","千"),
    "5": ("五","万"),
    "6": ("六","十万"),
    "7": ("七","百万"),
    "8": ("八","千万"),
    "9": ("九","亿")
}


WX_KEY_DICT = {
    "131073":"1",
    "196609":"2",
    "262145":"3",
    "327681":"4",
    "393217":"5",
    "458753":"6",
    "524289":"7",
    "589825":"8",
    "655361":"9",
    "720897":"0",
}

